package com.sss.pojo;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @ClassName User
 * @Description TODO
 * @Author 沈世举
 * @Date 2020/12/8 16:12
 * @Version 1.0
 */
@ApiModel("用户实体类")  //表示给生成的文档加上注释
public class User {
    @ApiModelProperty("用户名")
    private String id;
    @ApiModelProperty("密码")
    private String name;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
